package com.zhan.drugStore.bean.form.userInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class RegisterForm implements Serializable {

    @NotBlank
    @ApiModelProperty("昵称")
    private String username;

    @NotBlank
    @ApiModelProperty("手机号码")
    private String mobile;

    @NotBlank
    @ApiModelProperty("密码")
    private String password;

    @NotBlank
    @ApiModelProperty("确认密码")
    private String againPassword;

    @ApiModelProperty("邮箱")
    private String email;
}
